NumberSpinner: The Number Spinner is a GUI (Graphical User Interface) that makes an integer value is entered in the box easily when small adjustments are required. There are two arrow buttons (down and up) that "spin" the number up and down (increase and decrease). When you hold the up arrow button then increase the number and down arrow button then decrease the number.
<html><head> <link rel="StyleSheet" type="text/css" href="tundra.css">
Output:<script type="text/javascript"> var djConfig = { baseScriptUri : "js/dojo/",parseOnLoad : true }; </script><script type="text/javascript" src="dojo.js"></script> <script> dojo.require("dojo.parser"); dojo.require("dijit.form.NumberSpinner"); </script> </head><body class="tundra"> <form> <input dojoType="dijit.form.NumberSpinner“ constraints="{min:0,max:100}" value=0> </input></form> </body> </html> If you want to increase the number then click the up arrow: If you want to decrease the number then click the down arrow: |